Optimal. Leaf size=166 \[ -b d \text{PolyLog}\left (2,e^{-2 \sinh ^{-1}(c x)}\right ) \left (a+b \sinh ^{-1}(c x)\right )-\frac{1}{2} b^2 d \text{PolyLog}\left (3,e^{-2 \sinh ^{-1}(c x)}\right )+\frac{1}{2} d \left (c^2 x^2+1\right ) \left (a+b \sinh ^{-1}(c x)\right )^2-\frac{1}{2} b c d x \sqrt{c^2 x^2+1} \left (a+b \sinh ^{-1}(c x)\right )+\frac{d \left (a+b \sinh ^{-1}(c x)\right )^3}{3 b}-\frac{1}{4} d \left (a+b \sinh ^{-1}(c x)\right )^2+d \log \left (1-e^{-2 \sinh ^{-1}(c x)}\right ) \left (a+b \sinh ^{-1}(c x)\right )^2+\frac{1}{4} b^2 c^2 d x^2 \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.246114, antiderivative size = 165, normalized size of antiderivative = 0.99, number of steps used = 10, number of rules used = 10, integrand size = 24, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.417, Rules used = {5744, 5659, 3716, 2190, 2531, 2282, 6589, 5682, 5675, 30} \[ b d \text{PolyLog}\left (2,e^{2 \sinh ^{-1}(c x)}\right ) \left (a+b \sinh ^{-1}(c x)\right )-\frac{1}{2} b^2 d \text{PolyLog}\left (3,e^{2 \sinh ^{-1}(c x)}\right )+\frac{1}{2} d \left (c^2 x^2+1\right ) \left (a+b \sinh ^{-1}(c x)\right )^2-\frac{1}{2} b c d x \sqrt{c^2 x^2+1} \left (a+b \sinh ^{-1}(c x)\right )-\frac{d \left (a+b \sinh ^{-1}(c x)\right )^3}{3 b}-\frac{1}{4} d \left (a+b \sinh ^{-1}(c x)\right )^2+d \log \left (1-e^{2 \sinh ^{-1}(c x)}\right ) \left (a+b \sinh ^{-1}(c x)\right )^2+\frac{1}{4} b^2 c^2 d x^2 \]
Warning: Unable to verify antiderivative.
[In]
[Out]
Rule 5744
Rule 5659
Rule 3716
Rule 2190
Rule 2531
Rule 2282
Rule 6589
Rule 5682
Rule 5675
Rule 30
Rubi steps
\begin{align*} \int \frac{\left (d+c^2 d x^2\right ) \left (a+b \sinh ^{-1}(c x)\right )^2}{x} \, dx &=\frac{1}{2} d \left (1+c^2 x^2\right ) \left (a+b \sinh ^{-1}(c x)\right )^2+d \int \frac{\left (a+b \sinh ^{-1}(c x)\right )^2}{x} \, dx-(b c d) \int \sqrt{1+c^2 x^2} \left (a+b \sinh ^{-1}(c x)\right ) \, dx\\ &=-\frac{1}{2} b c d x \sqrt{1+c^2 x^2} \left (a+b \sinh ^{-1}(c x)\right )+\frac{1}{2} d \left (1+c^2 x^2\right ) \left (a+b \sinh ^{-1}(c x)\right )^2+d \operatorname{Subst}\left (\int (a+b x)^2 \coth (x) \, dx,x,\sinh ^{-1}(c x)\right )-\frac{1}{2} (b c d) \int \frac{a+b \sinh ^{-1}(c x)}{\sqrt{1+c^2 x^2}} \, dx+\frac{1}{2} \left (b^2 c^2 d\right ) \int x \, dx\\ &=\frac{1}{4} b^2 c^2 d x^2-\frac{1}{2} b c d x \sqrt{1+c^2 x^2} \left (a+b \sinh ^{-1}(c x)\right )-\frac{1}{4} d \left (a+b \sinh ^{-1}(c x)\right )^2+\frac{1}{2} d \left (1+c^2 x^2\right ) \left (a+b \sinh ^{-1}(c x)\right )^2-\frac{d \left (a+b \sinh ^{-1}(c x)\right )^3}{3 b}-(2 d) \operatorname{Subst}\left (\int \frac{e^{2 x} (a+b x)^2}{1-e^{2 x}} \, dx,x,\sinh ^{-1}(c x)\right )\\ &=\frac{1}{4} b^2 c^2 d x^2-\frac{1}{2} b c d x \sqrt{1+c^2 x^2} \left (a+b \sinh ^{-1}(c x)\right )-\frac{1}{4} d \left (a+b \sinh ^{-1}(c x)\right )^2+\frac{1}{2} d \left (1+c^2 x^2\right ) \left (a+b \sinh ^{-1}(c x)\right )^2-\frac{d \left (a+b \sinh ^{-1}(c x)\right )^3}{3 b}+d \left (a+b \sinh ^{-1}(c x)\right )^2 \log \left (1-e^{2 \sinh ^{-1}(c x)}\right )-(2 b d) \operatorname{Subst}\left (\int (a+b x) \log \left (1-e^{2 x}\right ) \, dx,x,\sinh ^{-1}(c x)\right )\\ &=\frac{1}{4} b^2 c^2 d x^2-\frac{1}{2} b c d x \sqrt{1+c^2 x^2} \left (a+b \sinh ^{-1}(c x)\right )-\frac{1}{4} d \left (a+b \sinh ^{-1}(c x)\right )^2+\frac{1}{2} d \left (1+c^2 x^2\right ) \left (a+b \sinh ^{-1}(c x)\right )^2-\frac{d \left (a+b \sinh ^{-1}(c x)\right )^3}{3 b}+d \left (a+b \sinh ^{-1}(c x)\right )^2 \log \left (1-e^{2 \sinh ^{-1}(c x)}\right )+b d \left (a+b \sinh ^{-1}(c x)\right ) \text{Li}_2\left (e^{2 \sinh ^{-1}(c x)}\right )-\left (b^2 d\right ) \operatorname{Subst}\left (\int \text{Li}_2\left (e^{2 x}\right ) \, dx,x,\sinh ^{-1}(c x)\right )\\ &=\frac{1}{4} b^2 c^2 d x^2-\frac{1}{2} b c d x \sqrt{1+c^2 x^2} \left (a+b \sinh ^{-1}(c x)\right )-\frac{1}{4} d \left (a+b \sinh ^{-1}(c x)\right )^2+\frac{1}{2} d \left (1+c^2 x^2\right ) \left (a+b \sinh ^{-1}(c x)\right )^2-\frac{d \left (a+b \sinh ^{-1}(c x)\right )^3}{3 b}+d \left (a+b \sinh ^{-1}(c x)\right )^2 \log \left (1-e^{2 \sinh ^{-1}(c x)}\right )+b d \left (a+b \sinh ^{-1}(c x)\right ) \text{Li}_2\left (e^{2 \sinh ^{-1}(c x)}\right )-\frac{1}{2} \left (b^2 d\right ) \operatorname{Subst}\left (\int \frac{\text{Li}_2(x)}{x} \, dx,x,e^{2 \sinh ^{-1}(c x)}\right )\\ &=\frac{1}{4} b^2 c^2 d x^2-\frac{1}{2} b c d x \sqrt{1+c^2 x^2} \left (a+b \sinh ^{-1}(c x)\right )-\frac{1}{4} d \left (a+b \sinh ^{-1}(c x)\right )^2+\frac{1}{2} d \left (1+c^2 x^2\right ) \left (a+b \sinh ^{-1}(c x)\right )^2-\frac{d \left (a+b \sinh ^{-1}(c x)\right )^3}{3 b}+d \left (a+b \sinh ^{-1}(c x)\right )^2 \log \left (1-e^{2 \sinh ^{-1}(c x)}\right )+b d \left (a+b \sinh ^{-1}(c x)\right ) \text{Li}_2\left (e^{2 \sinh ^{-1}(c x)}\right )-\frac{1}{2} b^2 d \text{Li}_3\left (e^{2 \sinh ^{-1}(c x)}\right )\\ \end{align*}
Mathematica [A] time = 0.373892, size = 209, normalized size = 1.26 \[ \frac{1}{8} d \left (-8 a b \text{PolyLog}\left (2,e^{-2 \sinh ^{-1}(c x)}\right )+8 b^2 \left (\sinh ^{-1}(c x) \text{PolyLog}\left (2,e^{2 \sinh ^{-1}(c x)}\right )-\frac{1}{2} \text{PolyLog}\left (3,e^{2 \sinh ^{-1}(c x)}\right )-\frac{1}{3} \sinh ^{-1}(c x)^3+\sinh ^{-1}(c x)^2 \log \left (1-e^{2 \sinh ^{-1}(c x)}\right )\right )+4 a^2 c^2 x^2+8 a^2 \log (x)-4 a b \left (c x \sqrt{c^2 x^2+1}-\sinh ^{-1}(c x)\right )+8 a b c^2 x^2 \sinh ^{-1}(c x)+8 a b \sinh ^{-1}(c x) \left (\sinh ^{-1}(c x)+2 \log \left (1-e^{-2 \sinh ^{-1}(c x)}\right )\right )-2 b^2 \sinh ^{-1}(c x) \sinh \left (2 \sinh ^{-1}(c x)\right )+b^2 \left (2 \sinh ^{-1}(c x)^2+1\right ) \cosh \left (2 \sinh ^{-1}(c x)\right )\right ) \]
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
Maple [B] time = 0.125, size = 425, normalized size = 2.6 \begin{align*}{\frac{d{a}^{2}{c}^{2}{x}^{2}}{2}}+d{a}^{2}\ln \left ( cx \right ) -{\frac{d{b}^{2} \left ({\it Arcsinh} \left ( cx \right ) \right ) ^{3}}{3}}+{\frac{d{b}^{2} \left ({\it Arcsinh} \left ( cx \right ) \right ) ^{2}{c}^{2}{x}^{2}}{2}}-{\frac{d{b}^{2}{\it Arcsinh} \left ( cx \right ) cx}{2}\sqrt{{c}^{2}{x}^{2}+1}}+{\frac{d{b}^{2} \left ({\it Arcsinh} \left ( cx \right ) \right ) ^{2}}{4}}+{\frac{{b}^{2}{c}^{2}d{x}^{2}}{4}}+{\frac{d{b}^{2}}{8}}+d{b}^{2} \left ({\it Arcsinh} \left ( cx \right ) \right ) ^{2}\ln \left ( 1+cx+\sqrt{{c}^{2}{x}^{2}+1} \right ) +2\,d{b}^{2}{\it Arcsinh} \left ( cx \right ){\it polylog} \left ( 2,-cx-\sqrt{{c}^{2}{x}^{2}+1} \right ) -2\,d{b}^{2}{\it polylog} \left ( 3,-cx-\sqrt{{c}^{2}{x}^{2}+1} \right ) +d{b}^{2} \left ({\it Arcsinh} \left ( cx \right ) \right ) ^{2}\ln \left ( 1-cx-\sqrt{{c}^{2}{x}^{2}+1} \right ) +2\,d{b}^{2}{\it Arcsinh} \left ( cx \right ){\it polylog} \left ( 2,cx+\sqrt{{c}^{2}{x}^{2}+1} \right ) -2\,d{b}^{2}{\it polylog} \left ( 3,cx+\sqrt{{c}^{2}{x}^{2}+1} \right ) -dab \left ({\it Arcsinh} \left ( cx \right ) \right ) ^{2}+dab{\it Arcsinh} \left ( cx \right ){c}^{2}{x}^{2}-{\frac{dabcx}{2}\sqrt{{c}^{2}{x}^{2}+1}}+{\frac{dab{\it Arcsinh} \left ( cx \right ) }{2}}+2\,dab{\it Arcsinh} \left ( cx \right ) \ln \left ( 1+cx+\sqrt{{c}^{2}{x}^{2}+1} \right ) +2\,dab{\it polylog} \left ( 2,-cx-\sqrt{{c}^{2}{x}^{2}+1} \right ) +2\,dab{\it Arcsinh} \left ( cx \right ) \ln \left ( 1-cx-\sqrt{{c}^{2}{x}^{2}+1} \right ) +2\,dab{\it polylog} \left ( 2,cx+\sqrt{{c}^{2}{x}^{2}+1} \right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \frac{1}{2} \, a^{2} c^{2} d x^{2} + a^{2} d \log \left (x\right ) + \int b^{2} c^{2} d x \log \left (c x + \sqrt{c^{2} x^{2} + 1}\right )^{2} + 2 \, a b c^{2} d x \log \left (c x + \sqrt{c^{2} x^{2} + 1}\right ) + \frac{b^{2} d \log \left (c x + \sqrt{c^{2} x^{2} + 1}\right )^{2}}{x} + \frac{2 \, a b d \log \left (c x + \sqrt{c^{2} x^{2} + 1}\right )}{x}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\frac{a^{2} c^{2} d x^{2} + a^{2} d +{\left (b^{2} c^{2} d x^{2} + b^{2} d\right )} \operatorname{arsinh}\left (c x\right )^{2} + 2 \,{\left (a b c^{2} d x^{2} + a b d\right )} \operatorname{arsinh}\left (c x\right )}{x}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} d \left (\int \frac{a^{2}}{x}\, dx + \int a^{2} c^{2} x\, dx + \int \frac{b^{2} \operatorname{asinh}^{2}{\left (c x \right )}}{x}\, dx + \int \frac{2 a b \operatorname{asinh}{\left (c x \right )}}{x}\, dx + \int b^{2} c^{2} x \operatorname{asinh}^{2}{\left (c x \right )}\, dx + \int 2 a b c^{2} x \operatorname{asinh}{\left (c x \right )}\, dx\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{{\left (c^{2} d x^{2} + d\right )}{\left (b \operatorname{arsinh}\left (c x\right ) + a\right )}^{2}}{x}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]